﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Test.control
{
    public partial class ClientItemUI : UserControl
    {
        public ClientItemUI()
        {
            InitializeComponent();
        }

        public void SetIndex(int index)
        {
            this.label1.Text = index.ToString();
        }

        public void SetState(int state)
        {
            this.label2.Text = state.ToString();
        }

        public void SetRecvCount(int v)
        {
            this.label3.Text = v.ToString();
        }

        public void SetInfo(string str)
        {
            this.label4.Text = str;
        }
    }
}
